<template>
	<view class="my-search">
		<view class="search-btn">
			<icon class="search-icon" type="search" size="20"></icon>
			<text>搜索</text>
		</view>
	</view>
</template>

<script>
	export default {
		name:"my-search",
		data() {
			return {
				
			};
		},
		methods:{
			clickHandler(){
				this.$emit("click");
			}
		}
	}
</script>

<style lang="scss">
	.my-search{
		width: 100%;
		height: 120rpx;
		background-color: #D81E07;
		display: flex;
		justify-content: center;
		align-items: center;
		.search-btn{
			width: 92%;
			background-color: #ffffff;
			height: 80rpx;
			border-radius: 42rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			.search-icon{
				margin-right: 12rpx;
			}
		}
	}
</style>
